package org.apache.servicecomb.samples.practise.houserush.login.dao;

import org.apache.servicecomb.samples.practise.houserush.login.aggregate.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author: Snake Man
 * @system:
 * @DateTime: 2022/1/2 1:39
 * @Description:
 */
public interface UserDao extends JpaRepository<User, Integer> {

    User findByUsername(String username);
}
